package com.duruikang.LeaveAPI.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.duruikang.LeaveAPI.dao.StudentDao;
import com.duruikang.LeaveAPI.entity.Student;
import com.duruikang.LeaveAPI.service.StudentInformationService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author Drik
 * @date 2021-12-17 16:51
 */
@Service
public class StudentInformationServiceImpl extends ServiceImpl<StudentDao, Student> implements StudentInformationService {
    @Override
    public Map<String, String> getStudent(String accountId) {
        return baseMapper.getStudentInformation(accountId);
    }
}
